Corrected policy name: Precendece > Precedence.

and I corrected a variable name as well.