Manually Run Hazel Rule through AppleScript

Hey,
I was wondering if there is a way to "run rules" on a specific folder through AppleScript?
The issue I'm having is:
I have rules in one folder1
- rule 1 is - pull all files that are ".jpg" and move them to folder1
- rule 2 is - move files (.jpg) to "external HD1" when available
This works 95% of the time but then sometimes I notice it doesn't work. But if I manually run the rules (hazel menu > run rules > folder1) on that folder again then it works as the previous times. So thought I could use an AppleScript with hazel to re-run the rules on the folder.
I was wondering if there is a way to "run rules" on a specific folder through AppleScript?
The issue I'm having is:
I have rules in one folder1
- rule 1 is - pull all files that are ".jpg" and move them to folder1
- rule 2 is - move files (.jpg) to "external HD1" when available
This works 95% of the time but then sometimes I notice it doesn't work. But if I manually run the rules (hazel menu > run rules > folder1) on that folder again then it works as the previous times. So thought I could use an AppleScript with hazel to re-run the rules on the folder.