[sr-dev] git:master:4f635fad: permissions: match trusted rules considering priority and regexp over r-uri