update replace_table->compile_rule