Add IsMapOf validation rule.
IsMapOf<K, V> isMapOf<K, V>() { return IsMapOf<K, V>()..parent = this; }