asRuleIdentifierOrNull

Casts this TemplateOrRuleReference as a RuleIdentifier and retrieves its kotlin.String value. Returns null if the TemplateOrRuleReference is not a RuleIdentifier.