I handled issue 1 by adding helper rule and got good result. Now I'm interested in issue 3. Could you please say how should I generate additional arbitrary string into the token-rewritten query?