The following explains how to edit rungs in the logic.
29.4.1 Editing Rungs
29.4.2 Inserting and Deleting Branches
29.4.3 Inserting an instruction/branch using IL