publish rule + format