Use version option to check on init if rewrite rules should be flushed.

This should fix #113.