def insert(self, i, tag1, tag2, cmd="<STR_LIT>", x=None, y=None):
if "<STR_LIT>" in tag1 and not x and not y:<EOL><INDENT>tag1, x = tag1.split("<STR_LIT>"); cmd="<STR_LIT>"<EOL><DEDENT>if "<STR_LIT>" in tag1 and not x and not y:<EOL><INDENT>x, tag1 = tag1.split("<STR_LIT>"); cmd="<STR_LIT>"<EOL><DEDENT>lazylist.insert(self, i, [tag1, tag2, cmd, x or "<STR_LIT>", y or "<STR_LIT>"])<EOL>
Inserts a new rule that updates words with tag1 to tag2,
            given constraints x and y, e.g., Context.append("TO < NN", "VB")