public void addAllNonUnitProductionsToGrammar(Grammar oldGrammar,
			Grammar newGrammar) {
		Production[] productions = getNonUnitProductions(oldGrammar);
		for (int k = 0; k < productions.length; k++) {
			newGrammar.addProduction(productions[k]);
		}
	}