A Framework for Characterizing Transmission Spectra of Exoplanets with Circumplanetary Rings