//add to the list of all Production rules a new ProductionRule with the given nonterminal and rule
productionRules.add(new ProductionRule(nt,r);