I injected qrules successfully into a new form. However when I try to open the form I get an error indicating that there are problems in the form definition file. It was opening just fine before I injected qrules
The error:
The form definition (.xsf) file contains elements, attributes, or structures that are not valid.
Error details:
The keyref 'grpLinktoFile_10' does not resolve to a key for the Identity Constraint '{http://schemas.microsoft.com/office/infopath/2003/solutionDefinition}xmlToEdit_name_key'.
Line 395, Position 5
----^
Is there any way to fix this?