add rules file