               regExStr='^'+regExStr
               rx = new RegExp regExStr
               if currUserAgentGroup
-                currUserAgentGroup.rules.push (url) ->
+                rule = (url) ->
                   if url
                     url_match = url.match rx
                     if url_match

                      false
                  else
                    false
      else
        #comments line get parse here
    line_counter=0
    evaluate line, ++line_counter for line in lineA
    if myGateKeeper?

    @user_agent= null
    @setUserAgent(user_agent)
    @groups= {}
    @sitemaps= []
    @comments= []
    @user_agent_group= {'*':'*'}

  #asks the gatekeeper if a given url is allowed
