a number of improvements

gives config_filter attr a default, empty value
adds support for creating pattern files
fixes generating filter configs, albeit in a very ugly fashion