update RuleSet.java