Update Rule.java