added "queries", made a basic rewriter
Merge branch 'master' of github.com:polasek/tscheme