Add rules for constant folding. (Not tested or enabled yet.)