rule to match on file types or mime types