Allow a rule to be applied to a folder

I would like to clear some messages from one of my folders.

I have set up a rule which will delete the messages as they arrive, but first time around I would like apply the rule to their current destination folder.

At the moment I can only apply a rule to the whole of inbox.