add generation and printing to file of TIR regular expressions to be used for associating nonautonomous elements to autonomous elements