Please Help! Seems like a simple rule but not working???

Hello,
I am mucking about with Hazel to see if it is good for my needs but can't for the life of me work out how to get it to do what I consider to be a pretty simple task.
What I want Hazel to do is move a file contained in a folder up to its parent but I only want this to happen if the folder only has one file within it.
Al the moment I have tried:
If | all | of the following conditions are met
If | all | of the following conditions are met for | the current file or folder
sub-file/folder Count | is | 1
Kind | is not | Folder
Any File
Do the following..
Move | to folder | enclosing folder.
Any clue as to how I can do this?
Please note that I have tried placing the recommended include Nested Subfolders Rule beneath, in case that is needed:
If | any
kind | is | Folder
Run rules on folder contents
?????
I am mucking about with Hazel to see if it is good for my needs but can't for the life of me work out how to get it to do what I consider to be a pretty simple task.
What I want Hazel to do is move a file contained in a folder up to its parent but I only want this to happen if the folder only has one file within it.
Al the moment I have tried:
If | all | of the following conditions are met
If | all | of the following conditions are met for | the current file or folder
sub-file/folder Count | is | 1
Kind | is not | Folder
Any File
Do the following..
Move | to folder | enclosing folder.
Any clue as to how I can do this?
Please note that I have tried placing the recommended include Nested Subfolders Rule beneath, in case that is needed:
If | any
kind | is | Folder
Run rules on folder contents
?????