1. A method of applying a policy to a managed resource in a distributed computer environment, the method comprising: comparing a set of attributes associated with the managed resource to sets of attributes respectively associated with a plurality of policies to select a matching policy from among the plurality of policies, wherein comparing the set of attributes associated with the managed resource to the sets of attributes respectively associated with the plurality of policies includes applying a tiebreaker algorithm in response to multiple policies matching the most attributes; and applying the matching policy to the managed resource.