fix RuleSet.java