accessing AntlrExtension inside the rule to create pipeline tasks