Rewrite rule that applies negation laws to simplify expressions.
See: https://en.wikipedia.org/wiki/Negation
Applies the transformations:
NOT true = falseNOT false = trueNOT (NOT A) = A(double negation elimination)
The negation laws handle boolean constant negation and double negation elimination, providing a complete set of negation simplifications.