Removed un-needed console log in javascript. Added better error display when rules have their conditions orphaned