PLC Toggle Switch

Still stuck trying to find how to have my PLC pass the initial state of the coil position to the switch. I have the output of the coil go into a change rule whereby the opposite of the last read state is fed to the switch to create a toggle. Although not ideal, I would still be happy with this, but it winds up as an infinite loop. Is there a way that it will only execute once? I was thinking of using a “wait until” node but don’t know what to pass it.