Schedule event to flush rewrite rules when settings are saved

Scary, but it may just work.