public function rules() { return [[['attributeId'], 'integer'], [['required', 'visible', 'locked'], 'integer', 'max' => 1], [['rules'], 'string']]; }