Swapped rewrite order

Fixed a bug with non www. rewrites that are passed in the wrong order.