public function getEavAttributeRule() { return $this->hasOne(EavAttributeRule::className(), ['attributeId' => 'id']); }