hasMany(Rule::class); } public function symptoms() { return $this->belongsToMany(Symptom::class, 'rules'); } }