Added support for types parameter to rally_query