Only flush_rules when load the plugin or settings are changed.