Summary if you need a toolbar button - Convert iLogic to Macro. If there is not enough knowledge for this, we use a macro to launch iLogic:
Public Sub Buton()
Dim addIn As ApplicationAddIn
Dim addIns As ApplicationAddIns
Set addIns = ThisApplication.ApplicationAddIns
For Each addIn In addIns
If InStr(addIn.DisplayName, "iLogic") > 0 Then
addIn.Activate
Dim iLogicAuto As Object
Set iLogicAuto = addIn.Automation
Exit For
End If
Next
Debug.Print addIn.DisplayName
Dim RuleName As String
INTERNALrule = "Rule Name"
Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument
If oDoc Is Nothing Then
MsgBox "Missing Inventor Document"
Exit Sub
End If
iLogicAuto.RunRule oDoc, INTERNALrule 'for internal rule
End Sub
But this is a last resort.