Using a String Variable for random list selection

Hello Everyone,

I'm wondering if there is a way to accomplish the following with Rule Machine. I would like to create a string variable with a list of integers and then have an action that uses that rule after being triggered to assign a random selection from the list to a custom action for a device, then wait 30s and repeat.

To be clear, I am using a Nanoleaf Aurora light and would like to assign a virtual switch in my dashboard, I would turn on this switch to randomly cycle through all the rhythm effects every 30s when the Nanoleaf is on and music is playing.

I have created rules that use assigned buttons for each effect but there must a more elegant way of accomplishing the same task, that doesn't require so much work if I update the effects on my Nanoleaf.