Eliminates double-slashes for href="/..." case; avoids rewriting when no rules match