def METHOD_NAME(self, commands):
    """Add commands to the rule."""
    assert isinstance(commands, Iterable) and not isinstance(
        commands, six.string_types
    )
    commands = list(commands)
    for command in commands:
        assert isinstance(command, six.text_type)
    self._commands.extend(commands)
    return self