added publish rule