Fixed: test problem. Replace Getrules() by GetRulesByOperator().