added edit rules