private EntityRulesViewModel LoadEntityRules(string filename)
        {
            string json;

            using (var file = new System.IO.StreamReader(filename))
                json = file.ReadToEnd().Trim();
            var entityRules = JsonDeserializer.Deserialize(json) as EntityRules;

            return(EntityRulesViewModel.CreateFromData(entityRules));
        }
 private void LoadFiles()
 {
     GameRules   = LoadGameRules(@"c:\Temp\Rules.txt");
     EntityRules = LoadEntityRules(@"c:\Temp\ManInChainmailEntity.txt");
 }