I am able to get a list of selected emails and header from my outlook using VBA.
My point is:
Add these headers into a variable in VBA and add them to specific rules and run them.
Not through managing rules and alert.
You'll need to use a run a script rule to run it using rules. The Rule identifies something in the message and triggers the script to get for a value in the header.