{
    "rules": [
       {
            "compile_id": 125,
            "service": 1,
            "action": 48,
            "do_blacklist": 1,
	    "do_log": 1,
            "effective_range": 0,
            "user_region": "code=302;url=http://news.baidu.com",
            "is_valid": "yes",
            "groups": [
                {
                    "regions": [
                        {
                            "table_name": "PXY_CTRL_HTTP_URL",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "kernel-3.10.0-327.el7.src.rpm",
                                "expr_type": "regex",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
    	{
            "compile_id": 128,
            "service": 1,
            "action": 16,
            "do_blacklist": 1,
	    "do_log": 1,
            "effective_range": 0,
            "user_region": "code=302;url=http://news.baidu.com",
            "is_valid": "yes",
            "groups": [
                {
                    "regions": [
                        {
                            "table_name": "PXY_CTRL_HTTP_RES_BODY",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "hello=world",
                                "expr_type": "regex",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
	{
            "compile_id": 127,
            "service": 1,
            "action": 80, 
            "do_blacklist": 1,
            "do_log": 1,
            "effective_range": 0,
            "user_region": "zone=http_resp_body;regex=/house.qq.com/www.renren.com",
            "is_valid": "yes",
            "groups": [
                {
                    "regions": [
                        {
                            "table_name": "PXY_CTRL_HTTP_URL",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "www.qq.com",
                                "expr_type": "none",
                                "match_method": "left",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
    	{
            "compile_id": 130,
            "service": 1,
            "action": 48, 
            "do_blacklist": 1,
            "do_log": 1,
            "effective_range": 0,
            "user_region": "code=404;content=",
            "is_valid": "yes",
            "groups": [
                {
                    "regions": [
                        {
                            "table_name": "PXY_CTRL_HTTP_URL",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "www.google.com",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
    	{
            "compile_id": 131,
            "service": 1,
            "action": 48, 
            "do_blacklist": 1,
            "do_log": 1,
            "effective_range": 0,
            "user_region": "code=404;content=",
            "is_valid": "yes",
            "groups": [
                {
                    "regions": [
                        {
                            "table_name": "PXY_CTRL_HTTP_RES_BODY",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "动物世界",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        }
 
   ]
}
