Update RuleHelper.java