Automaticaly cleanup directory

I have the following situation:
I received a lots of messages (status for diffent operations). I succesfuly create rules to move them in specific directories.
Becouse these messages are many in numbers, i want to automatically clean them, after a specific period of time. Cand this be accomplished somehow? In other words, is there a way to make a rule (or something similar) like :

<>
?

Thank you

I’m sorry but there isn’t such possibility.