Added localhost custom rules configuration