fix publish rules event
fix publish rules event