RIGIDITY IN THE LANGLANDS CORRESPONDENCE AND APPLICATIONS