<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def rebase(self, yaml_dict):
        ''' Use yaml_dict as self's new base and update with existing
            reverse of update.
        '''
        base = yaml_dict.clone()
        base.update(self)
        self.clear()
        self.update(base)