Creating OR conditions

Hello,
I have a situation where I want to make sure that the PDF document contains a word. But, then it's OK if it contains either one of two other words.
I don't see how to do this.
Ideally, I would like to be able to have multiple groups of "if all" and "if any" for these more complicated conditions (similar to Houdaspot search tool has). Hazel seems to force you into "all", "any", or "none" for all the rules.
Is it possible to have something like "contents contains "thisword" or "thatword" type of construct?
How do I tell Hazel that the document must have "word1", but then either "word2" or "word3" are acceptable for a match?
I have a situation where I want to make sure that the PDF document contains a word. But, then it's OK if it contains either one of two other words.
I don't see how to do this.
Ideally, I would like to be able to have multiple groups of "if all" and "if any" for these more complicated conditions (similar to Houdaspot search tool has). Hazel seems to force you into "all", "any", or "none" for all the rules.
Is it possible to have something like "contents contains "thisword" or "thatword" type of construct?
How do I tell Hazel that the document must have "word1", but then either "word2" or "word3" are acceptable for a match?