edited grammar

Removed <application> variable. Added  expression rules for while, malloc, and free.  Changed an if rule to be when. Changed a define rule to be defun.