Deleting folders with specific contents

Hey folks,
I'm fiddling around since two days now but I can't wrap my head around the rule to do what I want:
I made a rule that folder contents of new downloaded and extracted stuff are moved to specific folder, so movie files go to the movie folder, sound files to a sound folder and so on.
Another rule deletes the remaining empty folder after one day. So far so good.
This is what it looks right now:

But some of the folders have a txt or a jpg file in it. How would a rule look like to get rid of those folders, too?
I'm fiddling around since two days now but I can't wrap my head around the rule to do what I want:
I made a rule that folder contents of new downloaded and extracted stuff are moved to specific folder, so movie files go to the movie folder, sound files to a sound folder and so on.
Another rule deletes the remaining empty folder after one day. So far so good.
This is what it looks right now:

But some of the folders have a txt or a jpg file in it. How would a rule look like to get rid of those folders, too?