<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rename_annotations(self, sentence):
 """Function that renames and restructures clause information."""

        annotations = []
        for token in sentence:
            data = {CLAUSE_IDX: token[CLAUSE_IDX]}
            if CLAUSE_ANNOT in token:
                if 'KINDEL_PIIR' in token[CLAUSE_ANNOT]:
                    data[CLAUSE_ANNOTATION] = CLAUSE_BOUNDARY
                elif 'KIILU_ALGUS' in token[CLAUSE_ANNOT]:
                    data[CLAUSE_ANNOTATION] = EMBEDDED_CLAUSE_START
                elif 'KIILU_LOPP' in token[CLAUSE_ANNOT]:
                    data[CLAUSE_ANNOTATION] = EMBEDDED_CLAUSE_END
            annotations.append(data)
        return annotations