           v = if kv[1] then kv[1] else ""
           if v.indexOf('|') > -1
             v = v.split("|")
-          # obj = {}
-          # obj[k] = v
           newQueries[k] = v
         newParam.pop()
         newParam.push last.split('?')[0]

      childBefore.update(rule)
    @.beforeHandlers = childBefores.concat @.beforeHandlers


  #ルールを後から追加する
  appendRouter:(child, childRoot)->

    @._dispatcher.dispatchEvent( new KazitoriEvent( KazitoriEvent.START, @.fragment ))

    override = @.root
    if !@.silent
      if not @._hasPushState and atRoot
        override = @.root + @.fragment.replace(routeStripper, '')
      else if not atRoot
