I have a local mail rule I'd like to apply on a schedule. To apply all rules manually, I can click the Message menu -> Rules -> Apply -> Apply All.
Is there a way to automate this action with Applescript? I looked through the dictionary for Outlook and didn't find any actions relating to rules.
Alternately, is there a way to do this with Automator?

Can be solved with GUI scripting to faux click the menu item, using the System Events app.
You end up with quite long menu references, but it works.
Edit: I have added how to make sure the inbox is selected first.