Phrase structure rule grammar function

It's even extendable for other people to add their own rules.  Might make some interesting text.