Hi @Anonymous. Yes, it is possible, just a bit tricky, due to how the strict vb.net code formatting involved in the external rule that you will be referencing. Here is an extremely simple example you can try out.
Create a new external iLogic rule named "ConstantsRef" (file name is important, but can be different), in your normal location for your other external rules, then copy the following code to a new, empty 'External' iLogic rule (not a local/internal rule):
Class ThisRule
Const MyConst1 As String = "MyConst1Value"
Const MyConst2 As String = "MyConst2Value"
Const MyConst3 As String = "MyConst3Value"
Const MyConst4 As String = "MyConst4Value"
End Class
Then, on the Options tab, within the iLogic rule editor dialog, check the checkbox next to the "Straight VB Code" setting, because that is required. Then click the [Save] button (not the [Save & Run] button), then close the iLogic rule editor with the [Close] button.
Now create a new external iLogic rule, and copy the following code into it.
AddVbFile "ConstantsRef"
MsgBox("MyConst1 = " & MyConst1,,"")
That first line will automatically go up into the 'Header' of the rule, leaving the second line down in your regular code window. Then click Save first, then click the Save & Run button. You should see the value of that Constant that was created within the other external iLogic rule file. (Just make sure the name of the other rule is the same.)
Wesley Crihfield

(Not an Autodesk Employee)