Google Mail: Manage Messages automatically with Filters
There are many ways to create filters, but the easiest way is to use an existing message that has the filter characteristics already. Some examples, would be the name of the sender, or the subject line.