I got a compile error on Linux. #include <string> needs to be added to RuleSet.h.
I also noticed a warning with SavedBattleGrame.cpp, _terrian needs to be the first variable initialized in the constructor.
Lastly I ran into a problem where terrain data was failing to load due to case sensitive filenames.
The attached patch fixes all of these issues.