Update RuleExtractor.java