         callback = @[name]
 
     target = if isBefore then @.beforeHandlers else @.handlers
-    console.log "before rule instance::", rule
     target.unshift new Rule(rule, (fragment)->
       args = @.router.extractParams(@, fragment)
       callback && callback.apply(@.router, args)

    return @

  _bindChild:(rule, child)->
    for childRule in child.handlers
      childRule.update(rule)
    @.handlers = child.handlers.concat @.handlers


  #ルールを後から追加する

      callback = notFoundFuncName
    else
      callback = @[notFoundFuncName]
    @._notFound = new Rule(notFoundFragment, (fragment)->
      args = @.router.extractParams(@, fragment)
      callback && callback.apply(@.router, args)
