Sort in Subfolders

Hi again, Mr Noodle
I've been thinking about a simple rule for a few days but I can't find the solution.
I have searched the forum for all the threads about working with subfolders, I have read several times the chapter on subfolders and also on nested rules, I have made many attempts but I do not get the desired result.
It is as simple as moving a file whose name always maintains the same structure 1111-11A 1.pdf (example: 1234-23T 1.pdf) into the PDF subfolder of a folder whose name matches the first part of the file name ( example: 1234-23T anything)
The rule I have created works exactly as I want but only when the folder is in the root directory (ex: DROPBOX--->1234-23T anything--->PDF). but not if the folder is in a deeper level (ex: DROPBOX--->TRABAJOS--->2023--->04 Abril--->1234-23T anything--->PDF).
My question is is there a way to get Hazel to do a name matching search not only in the root directory but in all subfolders?
This is the rule I have created:
https://www.dropbox.com/s/b53f5vqhvvlggbt/Captura%20de%20pantalla%202023-04-14%20a%20las%2017.07.23.pdf?dl=0
ant this is the Directory:
https://www.dropbox.com/s/ef5tt8gjmf8vkdw/Directorio.pdf?dl=0
Compared to the doubts that I read in this forum, I know my question is very elementary... I know that I can solve it in a much more complex way by creating a rule for each month of the year... but I am sure that there is a much easier for this simple rule to work.
Can you help me?
I've been thinking about a simple rule for a few days but I can't find the solution.
I have searched the forum for all the threads about working with subfolders, I have read several times the chapter on subfolders and also on nested rules, I have made many attempts but I do not get the desired result.
It is as simple as moving a file whose name always maintains the same structure 1111-11A 1.pdf (example: 1234-23T 1.pdf) into the PDF subfolder of a folder whose name matches the first part of the file name ( example: 1234-23T anything)
The rule I have created works exactly as I want but only when the folder is in the root directory (ex: DROPBOX--->1234-23T anything--->PDF). but not if the folder is in a deeper level (ex: DROPBOX--->TRABAJOS--->2023--->04 Abril--->1234-23T anything--->PDF).
My question is is there a way to get Hazel to do a name matching search not only in the root directory but in all subfolders?
This is the rule I have created:
https://www.dropbox.com/s/b53f5vqhvvlggbt/Captura%20de%20pantalla%202023-04-14%20a%20las%2017.07.23.pdf?dl=0
ant this is the Directory:
https://www.dropbox.com/s/ef5tt8gjmf8vkdw/Directorio.pdf?dl=0
Compared to the doubts that I read in this forum, I know my question is very elementary... I know that I can solve it in a much more complex way by creating a rule for each month of the year... but I am sure that there is a much easier for this simple rule to work.
Can you help me?