Generate classes based on the mozilla parser api

- now can filter based on types
Fair enough. The reason I did that is I was only interested in the interfaces. This grammar is only for interfaces.