Quasi-flats and rigidity in higher rank symmetric spaces