'Check if this rule has defaults for a given rule.
:internal:'

def provides_defaults_for(self, rule):

    return ((not self.build_only) and self.defaults and (self.endpoint == rule.endpoint) and (self != rule) and (self.arguments == rule.arguments))
