Hi,
Put the New rule text into a .txt file, and change the reference (Ruletext = ) in the code below.
VBA code below will replace the text in your rule MKA_Rule0 with the text in the .txt file you create.
Hope this helps.
Dean.
Sub Change_MKA_Rule()
Dim iLogicAuto As Object
Set iLogicAuto = GetiLogicAddin(ThisApplication)
If (iLogicAuto Is Nothing) Then Exit Sub
Dim doc As Document
Set doc = ThisApplication.ActiveEditDocument
Dim RuleName As String
Dim ruleText As String
Dim Rule As Object
RuleName = "MKA_Rule0"
Set Rule = iLogicAuto.GetRule(doc, RuleName)
ruleText = ReadAllText("C:\TestRule.txt")
Rule.Text = ruleText
End Sub