rename quiz syntax rule to query, as in the ast