Since filters are specific for a certain lexicon, you define the filter in the module, under the tab. The process of creating a filter is similar to the process of creating a query, with the sole exception that you do not select a lexicon (since it is already predefined). Please, check the Queries section.