In an action, counter claim, cross claim or plea in intervention based on the theory of rescission of a contract, the court shall adjust the equities between the parties, and although the action is tried to a jury, the court may require the party to whom relief based on rescission is granted to make that compensation to the other party which may be required. If the court determines that the contract may not be rescinded, it may grant damages or any other relief to which the party may be entitled, whether or not such relief is sought in the pleadings.
Okla. Stat. tit. 15, § 233B