Content rules to scan the contents of PDF files don't fire on a PDF created with Microsoft's Print to PDF feature. The same PDF created with other programs will trigger the rule.
Messaging Gateway
This issue has been resolved in release 10.6.3 of Messaging Gateway.