private void DoUpdate(FormProxy sourceProxy, FormProxy updateProxy) { if (rule.Update != null) { // Copy of the source form will be chnaged var targetForm = sourceProxy.Form.CopyForm(false); updateProxy.WithForm(targetForm); if (rule.Update.Method(sourceProxy, updateProxy)) { engine.ActivePlugin.AddForm(targetForm); Updated++; } } }