Remove rules in favor of all_rules; tmp broken.

Things are going wrong because the 'substitution' rule is not properly
being added to all_rules. I have some temporary debugging statements that
I think will help me track this down next time.

Next time, Gadget... Next time.