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


          else if kvA[0] == 'sitemap'
              #whatever we do with the sitemap

          else if kvA[0] == 'crawl-delay'
            if currUserAgentGroup

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

  #asks the gatekeeper if a given url is allowed
