If an instrument violates the rule against perpetuities, but can be reformed or construed in accordance with the provisions of this act, is shall not be declared totally invalid. Rather, the provisions thereof that do not offend the rule shall be enforced, and only the provisions thereof that do violate, or might violate, the rule shall be subject to reformation or construction under the doctrine of cy pres within the terms of this act.
Okla. Stat. tit. 60, § 77