Using the DRS affinity and anti-affinity rules