One rule with a condtion which matches one of two file stems

I want to create a rule which moves a downloaded files based on one of two "name" matches and a "kind" match.
So I have a condition structure like this:
(Name starts with "abc" or Name starts with "def") and Kind is PDF
How can I do this in Hazel? Regex for the name match would be an option, but I could find regex matching... Creating two separate rules is another option, but that's not very maintainable, because most of the rule content will be the same for both rules, only the name match is different...
What's my best option?
So I have a condition structure like this:
(Name starts with "abc" or Name starts with "def") and Kind is PDF
How can I do this in Hazel? Regex for the name match would be an option, but I could find regex matching... Creating two separate rules is another option, but that's not very maintainable, because most of the rule content will be the same for both rules, only the name match is different...
What's my best option?