It is a best practice to check for null or empty string for the value of .RankingRuleDef. This is because .RankingRuleDef is not
a required property and is allowed to be empty. If it is empty, calling this function GetRankingRuleDefinitionAsync() will throw
an exception.