And to ask a silly question, why the button layout you are trying to use with the toggle actions?
Couldn't you just use the bottom button for off, the top button for on, and the arrow buttons (assuming a 5 button Pico) for dim up and dim down?
You could even use holds to get the presets. Push arrow up raises dimming by say 20 percent every time you push it, and holding that same button presets light to 70%.
Same for the down arrow, lower lamp 20 percent for each press, and do a 30% preset value for hold.
You can mix and match actions on the same button, as long as you have the "enhanced" pico settings and not the Fast Pico settings selected.
My other advice is to not use Rule Machine for simple things like this, the Advanced Button Controller community app makes it much easier to do buttons, especially if you are going to just be doing lights or simple devices.
Edit for example of what I was describing with pressed and held using ABC.
