'Syncs local rule state with AWS'

def _sync_state(self, enabled=True):

    remote_state = self._remote_state()
    if (enabled and (remote_state != 'ENABLED')):
        self.rule.enable()
    elif ((not enabled) and (remote_state != 'DISABLED')):
        self.rule.disable()
