fix PTCP.RES context rules