rule: set update flag on Rule.AddArg (#1702)

Otherwise the shortcut logic in Sync() will prevent the change to be
reflected in the syntax tree if no other action sets the updated flag.
2 files changed