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; and applying the matching policy to the managed resource.