Or you could write

```scala
import JavaConversions._

case (rate, forFilters) => forFilters.map(filter => SamplingRate(parseFilter(filter), rate)