def _create_dependency_rule(self, package, dependencies, reason, reason_details=""):
        literals = [-package.id]

        for dependency in dependencies:
            if dependency == package:
                return
            else:
                literals.append(dependency.id)

        return PackageRule(self.pool, literals, reason, reason_details, version_factory=package.version_factory)
Returns a datastore_query.Query for the current instance.
dataset/ETHPy150Open enthought/depsolver/depsolver/solver/rules_generator.py/RulesGenerator._create_dependency_rule--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/datastore.py/Query.GetQuery