             destination: bucket.destination
           min += size
 
+    # group split ruleset
     if ruleset.ruleset_type == 'group'
       old_groups = {}
 
+      # create a group_id -> rule map of our old groups
       if formData.previousRules
         for rule in formData.previousRules
           if rule.test.type == 'in_group'

              old_groups[rule.test.test.uuid] = rule

      for group in splitEditor.omnibox.selected.groups
        if typeof group is 'string'
          group =
            name: group

        category = {}
        category[Flow.flow.base_language] = group.name
        if group.id and group.id of old_groups
          rules.push(old_groups[group.id])
        else
          rule =
            uuid: uuid()
            test:

                name: group.name
            category: category

          # if they picked an existing group, save its uuid too
          if group.id
            rule.test.test['uuid'] = group.id

          rules.push(rule)

    # create rules off of an IVR menu configuration
