More structured tex files for text thesis
Changes to generate entire all rules grammar from entire corpus. Labeller is not yet optimal, so using it gives rather strange results.