Resonances in Ring, Satellite, and Planetary Systems