Corrected XRuleset

XRulset now properly compiling, however there are some issues with the
resolution, causing errors.
correction for compilation