Test rules with mimetypes