Similar names - how to differentiate them?

Hi everyone,
I have 2 types of invoices from Apple: Mac App Store, App Store. When I try to set different rename rules for them based on the PDF contents, I keep getting the first one to rename all the invoices. I suspect that this has to do with the fact that, in the end, both have "App Store" in the contents.
How can I tell Hazel that they are not the same and apply a different rule accordingly?
Thank you so much.
I have 2 types of invoices from Apple: Mac App Store, App Store. When I try to set different rename rules for them based on the PDF contents, I keep getting the first one to rename all the invoices. I suspect that this has to do with the fact that, in the end, both have "App Store" in the contents.
How can I tell Hazel that they are not the same and apply a different rule accordingly?
Thank you so much.