Allows URLRewrite to use absolute url

Removed url() dependency from #104.

I've no idea how to commit from patch-1 earlier so this is a fresh pull.