Unfortunately I still cannot debug the code. I need relatively simple answer:
What is the name of rule executed? How to read rules object name?
The only object I have in ThisOutlookSession is mailitem ...
The macro at Create a List of Rules shows how to read rules using vba. Not sure what code you need to get the name of a specific rule though. Sorry.
If the code is complicated, an error handler that writes the line name and other information to the immediate window or a text file could be helpful. I don't think i have any code samples that do that though.