Fix error class InvalidCommandException does exists
Require packages
Fix class name
static::$rules ~> $this->rules()
inspection cleanup