Finding destination folder most efficient way

Is it possible to create complex folder structure and copy paste that structure with a different name and Hazel would do the work to find a destination folder to file. For example.
I know how to set conditions, that file finds to Person A - Example folder 1 and 2, 3 and so on... But if I add Person B folder OR person C, D with same structure, it is too much work to copy paste conditions and then change the final destination folder to different person in all of the conditions.
Person A - Example folder 1
-Example folder 2
...
Person B -Example folder 1
-Example folder 2
...
I would want to find solution, that first Hazel finds out that the file belongs to Example folder 1, and after that it would sort it to Person A or B or Y based on condition who's file it is. Then if I make changes to conditions or add new person X folder, I don't have to do so much work. Maybe using script and variables or how to find solution to this?
I know how to set conditions, that file finds to Person A - Example folder 1 and 2, 3 and so on... But if I add Person B folder OR person C, D with same structure, it is too much work to copy paste conditions and then change the final destination folder to different person in all of the conditions.
Person A - Example folder 1
-Example folder 2
...
Person B -Example folder 1
-Example folder 2
...
I would want to find solution, that first Hazel finds out that the file belongs to Example folder 1, and after that it would sort it to Person A or B or Y based on condition who's file it is. Then if I make changes to conditions or add new person X folder, I don't have to do so much work. Maybe using script and variables or how to find solution to this?