Update NonTerminal.java

added getRules()