modify Router's rule match