add the match method for differential equations; consolidate the repeated code from the various match methods into a single function that is reused; add the xpath expression to match algebraic equations