implements individual context build for each template.
Enhanced iterator template rule
the template list is hold the filename layout.