Change
new Handle:cvar = GetConVarString(rulesurl) to:
Code:
decl String:cvar[128];
GetConVarString(rulesurl, cvar, sizeof(cvar));
Also add
KvSetNum(setup, "customsvr", 1); if you want a fullscreen window, and decide whether you want semicolons in your code or not since, as of yet, you've used them on some lines and omitted them elsewhere.
(If you want to use them, have
#pragma semicolon 1 at the very top, so the compiler kicks up a warning if you leave them out.)
Also, you might already know this, but you don't need to link to a text file, your URL could be a full-blown HTML file if you want. Looks much prettier!