Not for the old rule engine, but using the new rule engine, scripted automation, and the helper libraries, you can create variables in modules that can be accessed and changed in any of your scripts. You’d also be getting a head start preparing for OH 3.0. Let me know if you’d like some more details or help in getting things set up.