updated rules file