Example for entering rules in the rules.ima file
The following rule will search the Subject field for baseball or base or bat or cap or homerun or softball and upon a match will send the message to the user's "baseball" mailbox.
S!(baseball|base|bat|cap|homerun|softball):baseball