Update Rules.java