Update rally_query.rb

Function to query rally