Create RulePrinter.java