buildFilter

fun buildFilter(type: String, init: Parametrized.() -> Unit)

Builds a filter from parameters