citempalte: fix string comparitson in rules