Hi - you can use code in browser forms (I think you may have asked another question about this that I answered?). InfoPath has no rule options for inserting an instance of a repeating group. I'd think this possibly could be done with some interesting rules - but you'd have to have some idea in advance of how many rows parsing this would create so you could use an XML data source in the form with a number of rows included by default. If you are able to just write code for it, I'd take that approach myself - if you aren't a dev, you could give qRules a try and I could help you with the logic you'd need for that.