The proper height for the front derailleur brings it to between 1 & 3 mm above the largest chainring. Perhaps of more importance in eliminating chainrub is paying particular attention to parallelism of the outer plane of the outer chainwheel and the outer cage plate. Place the long side of a hex wrench flat along outer aspect of the chainwheel (at the top of the chainwheel, to the right or forward side of the front derailleur). Essentially you've made the hex key shaft a tangent to the chain wheel. As you rotate the chainwheel back with the hex key flat on the chainwheel, it will sweep across the outer plate of the derailleur. You can tell if you need to rotate the derailleur some based on any variance in the distance of wrench to outer plate. In addition, the outside of the outer plate should in line/parallel with the outside plane of the large chainwheel. The low limit screw is manipulated to bring this into proper alignment. Here is Shimano's Dealer Manual with directions on the install and adjustment of the 105 front derailleur.
The bolt you are inquiring about is a cable adjustment bolt which adjusts cable tension as a barell adjuster does. You should have an inline barell adjuster somewhere between your shifter and the derailleur, most likely on your down tube. This does the same thing as the adjustment bolt .
One thing to mention in your case of chain rub at the extremes of the cassette, is if you're aware that the shifters have "trimming" capability? That is extra detents on the front, left shifter. Moving the smaller "b" lever slightly inboard (move it about 1/4 to 1/2 of the throw), you'll hear a click as the shifter hits the detent and the derailleur will move slightly inboard without moving the chain off the chainwheel. This effectively moves the derailleur away from the chain, stopping the rub. This move is when in the large chainring and you're moving up the cassette, chainrub is encountered as the chain reaches larger rear sprockets. Moving the derailleur slightly inboard (trimming) quiets the rub.
Also note that the cable tension is adjusted when the shifter/derailleur are in the trim position (for proper adjustment, in other words). Starting on page 17 of the dealers manual I've linked to is where discussion of the trim and cable tension adjustment begins. It's likely to be much clearer with the associated pics than my babble.