"If the washer drains after washing but will not fill in the rinse cycle then checking the pressure switch would be a good idea. If the tub is empty you can remove the plastic hose, give the switch a thump and reattach the hose. Does it fill now?
If not then you can remove the violet wire and tan wire from the pressure switch and join them together with a small piece of insulated wire.
Remember to unplug the washer first before attempting this.
With these two wires connected the washer will fill if the pressure switch is the problem."