'Validate the rule.'

def validate(self):

    if (not self.action):
        raise InvalidLifecycleConfigError('No    action    was    specified    in    the    rule')
    if (not self.conditions):
        raise InvalidLifecycleConfigError(('No    condition    was    specified    for    action    %s' % self.action))
