updated rules template