Add a cost filter.