A Palm Beach County law firm won a little and lost a little in an appeals court ruling Wednesday. And a litigator said the decision could mean changes to a common arrangement in the legal community, especially for foreclosure defense fee contracts.