The rule closes a loophole that exempted overdraft fees from lending laws, but is expected to face challenges.