private boolean ruleEqualsTo(String rule, String toCheck)
	{
		String splittedRule = rule.split("=>")[1];		//get right side of rule
		if(splittedRule.equals(toCheck))				//check if symbol is on right side of rule
			return true;								//true if yes
		else
			return false;								//false if no
	}