rule printing