@jkandasa I see.
I would like to make an extra menu, next to the rules menu.
It would work like the same, first there is a list, you can enable/disable or add/edit.
Then the rule edit will be the blockly page. Click save and it makes a script file in the resources folder.
Then the back end would perform each script if enabled.
Or the second idea is to hide the operations and conditions menus. So when blockly makes the output, it will split into condition and operation, automatically saving them to the corresponding places. I think this idea needs less recoding/modifications to work.
I think with this graphical interface people would use this with more confidence then the current method. Also would be easier to expand with additional functions instead of the need to use scripts.
What do you think Jeeva?