prototype of new rulesEngine design. currently not tied to existing processor, however hooks exist. refactored rules, constraint and definitions
modified main function signature
purge remnants of old rules engine