we already have a parser for filters https://github.com/ocaml/opam/blob/master/src/core/opamFormat.mli#L223