Fix nasty bug

This ensured that a lot of crucial rules never ran.