Logic for Rule

I have two folders (will call them A and B) both with files of music and images (cover art). In Folder A, they are organized by Author--->Album>Songs & Cover Art. I want to create a rule to move, either the entire album folder and all that is contained in them (music and cover art) to the folder in A that corresponds to the correct Author from those being moved in B, or move the music and cover art and have Hazel create a new folder nested inside the Author as identified by the music file. I can't seem to get it right. Is there a way to have Hazel move the entire contents of a folder, and have Hazel look at the metadata of the music file to determine which folder to move into?
With the rule I created, I'm successfully having Flac files sorted into a new subfolder based on Author-->Album, but I can't seem to get the rule to move the .jpg files into the same newly created folder.
With the rule I created, I'm successfully having Flac files sorted into a new subfolder based on Author-->Album, but I can't seem to get the rule to move the .jpg files into the same newly created folder.