There actually is a process set up for that exact situation. The following link touches on this subject, but doesn't really do a great job of fully explaining how it works.
Advanced iLogic Techniques Reference
The AddVbRule and AddVbFile are both used in this way. The AddVbRule is for when you want to reference another local rule in the same document, while the AddVbFile is for when you want to reference an external rule. However, it's not that simple. The other rule needs to be set up right for it to work. The "Straight VB code" option needs to be turned on in the rule being referenced, and the code needs to be set-up accordingly. Any subs, functions, constants, enums, etc. within the referenced rule must be set-up within either the "Class ThisRule" block of code or within a Module, as you would in regular vb.net (outside the iLogic environment). Many of the convenient objects & references you're used to using within the iLogic add-in, are no longer accessible in that mode, so it can get a bit tricky for folks that don't have a vb.net programming background. I have used this reference system before though, and it's definitely doable.
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.
Wesley Crihfield

(Not an Autodesk Employee)