For query rewriting use kyrie

It's available there.