How do you get the chaos emeralds in sonic rush?

If you have noticed little swing like objects with stars on them jump on one and use your boost then you will enter a bonus level to collect rings