Changing the rule engine