update rules to 2.7