Feature: maxViewDistance, maxViewDistanceAtDark and maxDarknessToSeeUnits moved into ruleset

Constants maxViewDistance, maxViewDistanceAtDark and maxDarknessToSeeUnits moved into ruleset instead hardcode.