I am not sure about a flashlight (that is the M3 illiminator, a small but powerful flashlight that can also be used on Glock handguns), but as far as the vertical foregrip, one can be found for $15 at: http://www.m-aparts.com/ar15m16.html
I just bought a mini maglight and mounted it under the barrel with a Tac-Star universal barrel mount and used a remote pressure switch that can be purchased at:
http://www.wholesalehunter.com/product/tacstarl/tacstarl.htm
Also, I recently purchased a UIFR rail made by GG&G from Lightfighter Tactical that seems to work very well. It mounts just like the Advanced Armament one, as far as I can tell, and took only about 5 minutes to install. Plus it was only about 46.00 with shipping.
http://www.lightfighter.com/item.jhtml?PRID=1144225
It seemed to fit nice and solid to the hangduard and was slighly cheaper than advanced armament. Or you can order it directly from GG&G at http://www.gggaz.com