Modelling Self-managing Multi Agent Systems Using Norms