It would be quite useful to have modules capability for scripting, so we could define our own modules for the workspace, which could then be easily included wherever needed in Button/Rule scripts.
Great suggestion! Did something like this already happen in the meantime?