public static void printRules(String [][] syntax)	{
		for (int i = 0; i < syntax.length; i++)	{
			for (int j = 0; j < syntax[i].length; j++)
				System.out.print(j == 1 ? " ::= "+syntax[i][j]+" " : syntax[i][j]+" ");
			System.out.println();
		}
	}