set up rules to ignore files