Modelling and Analysing Adaptive Networks: From Graph Transformation System to Ordinary Differential Equation