Select the LegPair0 Child in the Child Context. In the upper Context pane, the one with "Name:", "Design:" and "Quantity:" text boxes, click on the Edit icon in the "Design:" slot.
Enter the following Design formula:
if (this.legType == "Square")
{ return "SquareLeg" } else
{ return "RoundLeg" }
This is the configuration rule.
In the Model Tree, click on the World node. Change the legType from "Square" to "Round."
The legs should change to cylinders.