public static function createDefault(string $class): Rule
    {
        $rule = new Rule($class);

        $reflection = new \ReflectionClass($class);
        $properties = $reflection->getProperties();

        foreach ($properties as $property) {
            /** @var \ReflectionProperty $property */
            $rule->assign($property->getName(), $property->getName());
        }

        return $rule;
    }