Moving files based on sub-folder name (multiple sub-folders)

SOLVED!
Hey all. Appreciate some help with following challenge. Structure of folders/files is:
Source:
Folder A
Folder X
File 1
File 2
Folder Y
File 1
File 2
File 3
...
Target:
Folder B
Folder C
I want to move the files in Folder X to Folder B, and those in Folder Y to Folder C. I have individual rules for Folders X & Y already, and these work just fine. However, I would like to have a single set of rules for Folder A that deals with all sub-folders contained.
Appreciate any guidance on this.
Hey all. Appreciate some help with following challenge. Structure of folders/files is:
Source:
Folder A
Folder X
File 1
File 2
Folder Y
File 1
File 2
File 3
...
Target:
Folder B
Folder C
I want to move the files in Folder X to Folder B, and those in Folder Y to Folder C. I have individual rules for Folders X & Y already, and these work just fine. However, I would like to have a single set of rules for Folder A that deals with all sub-folders contained.
Appreciate any guidance on this.