parser.py: fix precedence rules
parser.py: fix precedence rules

PLY orders precedence rules from lowest to highest precedence, opposite
to how racc does where I copied the precedence rules from.

bootc/pypuppetdbquery