[bugfix] Prevent concurrency issue in XQueryURLRewrite: static rewrite actions may be modified by several threads, causing ConcurrentModificationExceptions.