using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); var myRule = t.FromTo("A", "B"); // Get the parent uCalc from the rule var parent_uc = myRule.uCalc; // Verify they are the same instance using their MemoryIndex Console.WriteLine(parent_uc.MemoryIndex == uc.MemoryIndex);