def METHOD_NAME(self, deps):
    """Add dependencies to the rule."""
    assert isinstance(deps, Iterable) and not isinstance(deps, six.string_types)
    deps = list(deps)
    for dep in deps:
        assert isinstance(dep, six.text_type)
    self._dependencies.update(deps)
    return self