def check_type(type_name)
      alias_name = @rally_alias_types[type_name.downcase.to_s]
      return alias_name unless alias_name.nil?
      return type_name
    end
def check_type(type_name)
      alias_name = @rally_alias_types[type_name.downcase.to_s]
      return alias_name unless alias_name.nil?
      return type_name
    end
check for an alias of a type - eg userstory => hierarchicalrequirement
you can add to @rally_alias_types as desired