public boolean isChomsky(Production production) {
		String[] tokens = separateString(production.getRHS());
		switch (tokens.length) {
		case 1:
			return grammar.isTerminal(tokens[0]);
		case 2:
			return !(grammar.isTerminal(tokens[0]) || grammar
					.isTerminal(tokens[1]));
		default:
			return false;
		}
	}