Apple - Apply rules to messages in mailbox
To apply the rules to existing messages, just select the mailbox and use "Apply Rules" from the "Message" menu. Or use the shortcut ⌥+⌘+L
Best and easiest solution - Select all emails from that folder you want to apply rules, (probably a cmd + A) and Select 'Apply Rules' on right click menu.