• Start looking at Query Analyzers templates.

    Haven'nt used it myself, but one can specify templates in QA.