added templatezation of file formatting rule

Signed-off-by: dvorkinista <villain@noironetworks.com>