Create filter

Creates a filter.