Added rules for specific filetypes