How to create templates for a flow language Plugin

Hi Team,

I am looking for a way to create a template for flow language (webMethods Proprietary language from Software AG)

I have a sonarqube plugin - Sonar Flow Plugin developed by couple of developers for which they have around 15 rules. unfortunately, it does not have any template.

I checked the documentation on sonarqube for developing a plugin and also trying to create rule - Developing a Sonar Plugin
But I could not find any info on creating a template. also checked in the community but did not find any relevant post and hence creating this topic.

Request your help in sharing the way or with some information on it with possible example and with any reference docs.

Regards,
Kishore