Hello @Corrensa,
This probably relevant to this issue here Using context variables in URL rewrite - #7 by zaid
However, you can use the following regex path\?param1=(\w+)¶m2=(\w+)
and you can access the values at $1 and $2. Which means that the URL rewrite string would be /$2?operation=$1
Zaid