Routing over two rules