[DROOLS-664] implement cast operator in xpath constraints
[DROOLS-664] minor performance optimization to xpath evaluation
BZ1042508: Guided Editor: When closing an asset always prompted to discard unsaved changes
BZ1173648: Guided Rule Editor: Allows you to use variables out of the scope of the pattern in LHS