@neo_gis
Please use Sourcemod's
BuildPath() function rather than hardcoding the Sourcemod directory path.
Ex.
PHP Code:
FileToKeyValues(kv, "addons/sourcemod/configs/rules.cfg");
becomes
PHP Code:
decl String:rulespath[PLATFORM_MAX_PATH];
BuildPath(Path_SM, rulespath, sizeof(rulespath), "configs/rules.cfg");
FileToKeyValues(kv, rulespath);