update rules to latest version