Rule machine mixed up. How to clean it?

Let me reiterate what @JasonJoel said. I'm not a programmer. It took me probably a couple weeks to move all my automations from Hubitat to Node-RED.

This is the Node-RED thread that he referred to:

You may this one to also be useful: