This is just a guess, but my hunch would be that InfoPath.Application.2 is the name 2007 and 2007 only, InfoPath.Application.3 would be the name for 2010, and just InfoPath.Application is an backwards-compatible name that works for whatever version of InfoPath is installed.