Move file to FOLDER with name containing file's filename

Hi
The move action does not appear to have any conditional parameters. Does that mean we are suppose to use Apple Script to handle conditional processing?
e.g.
Move file to DESTINATION FOLDER that contains the file's filename. The "file" and the DESTINATION FOLDER that I wish Hazel to move the file to, are in the same folder.
Thankyou for your help.
The move action does not appear to have any conditional parameters. Does that mean we are suppose to use Apple Script to handle conditional processing?
e.g.
Move file to DESTINATION FOLDER that contains the file's filename. The "file" and the DESTINATION FOLDER that I wish Hazel to move the file to, are in the same folder.
Thankyou for your help.