Reordering reverse proxy rules