In natural language, describe the type of email to match.
Then define what to do with it.
That's it. Mailman inspects the subject of incoming emails and does the rest.