INVESTOR RIGHTS AGREEMENT DATED AS OF AUGUST 18, 2006 BY AND AMONG