private static RankingExpressionsConfig.Expression.Builder toConfig(RankingExpressionBody expr) {
        return new RankingExpressionsConfig.Expression.Builder()
                .name(expr.getName())
                .fileref(expr.getFileReference());
    }
Creates a rank profile list

@param schema the schema this is a rank profile from
@param attributeFields the attribute fields to create a ranking for
config-model/src/main/java/com/yahoo/schema/derived/RankProfileList.java