Takes in an aligned StAMR file, and outputs a nice unified StAMR grammar file.