added the parsing rules and precendence of the given grammer