make the rewrite params last for greater specificity