A Theoretical Study for the Valence-Rydberg Interaction in Diatomic Molecules. Application to the NO beta Band System