Added some precedence rules.