updating rules to the latest version