Managing the Properties of Groups of Agents