debug wp rule