Precedence

Incorporated necessary precedence rules.