implemented abstract rewrites node class

Created the class AbstractRewritesNode which offers the possibillity to manage rewrite and param nodes as  node childs