update RULES