Bryan Kyle had an itch and scratched it.
One things that has always bothered me about it is that it doesn’t do anything with attachments. If you create one of these specially formatted messages and attach a file, you would expect that the attachment would be added to the newly minted action.
With his modified AppleScript Mail.app will now honour the attachments in any email being processed by the magic OmniFocus mail rule. Good luck with all these images people still have in their corporate signatures.