fix quality flaws
fix quality flaws (RuleDoc CTor needs a non-nullable map)
fix quality flaws (Unused ctor)