Decrease precedence of NOT

Give NOT a higher precedence than AND, OR and XOR, but lower than
everything else.