Add rules for negation.

Signed-off-by: darkestkhan <darkestkhan@gmail.com>