Fix backward compability for style rules and add button for grass.

- Add button in drawer to open grass viewer.
- Fix backward compability for {id} and {type}.