1. A method of enabling category-based filtering of a plurality of data items, said method comprising: in an application that associates patterns of a first type with said plurality of data items, where said patterns of said first type satisfy a rule, associating a pattern of a second type with a category, where said pattern of said second type satisfies said rule.