Just use GameRules_GetProp instead of fetching it the hard way.