Fixed a declaration bug where the flush_rewrite_rules() was not set to static