Added basic grammar rules

Need to now work on functions and constraints oh boy!