Create RulesCommand.java