Add get_gates method
Merge pull request #28 from tarunbhardwaj/get_rates

Add get_rates method