add auto publish rules