fix typos in rules