How to RemoveInstall the Dual Fill Valve

I’m planning on replacing the dual cold water fill valve (part # 265772) because during pre-wash/rinsing all I’m getting is a trickle of water into the machine, and testing indicates that this part is at fault. Looking at the valve, however, I’m a bit stumped as to how the valve is properly removed/installed. Spin it? Snap it? It wouldn’t be the end of the world if the old one breaks, but I’d like to get the new one in safely…