Adding a basic rule-based terrain painting implementation.

http://www.garagegames.com/community/resources/view/17145