This restriction is matched if the search string is found in the message attachment filenames.
attachment name restriction
InboxRULES - automate routine operations in MS Outlook