update rulecomparator