Rewrite rules flush

Attempt to correct the rewrite rules not being properly flushed on
activation.
Merge pull request #2 from jalberts/master

Rewrite rules flush
Merge pull request #3 from jalberts/PRC

Rewrite rules flush