So below is a snippet of my Inovelli Blue dimmer rule that allows the rule (if the down paddle is tapped 5 times) to read its own local variable values from a file (the parsing of the read string in vInitialSettings and the setting of those values is further on in the rules, omitted for brevity).
The %device% variable is stripped of spaces by a Rule Function (posted at Rule Machine: Rule Functions - #19 by John_Land) to form a valid file name. Then my initials are pre-pended so that all of these types of files are grouped together. If a file does not exist, then the vInitialSettings variable will default to values set in the Local Variables table.
