ServerRules is good for all generic behaviours.
Class rules are interesting for class handling (thank you, Captain obvious !)... But... this is something in the brain area.
I'd more see IsAllowedToAttack in the brain scope:
- calling the specific ServerRules (player, mob, realm interactions)
- calling its own IsAllowedToAttack (or vice-versa, you define it in fact. For SMB, nothing, for PetBrain, a bit more checks, for necropetbrain, a tons /wave Tola

)
There are some confusions in general related to the scope of the brain vs the scope of a gameliving inherited class. This is perhaps something we would want to left as is, or eventually discuss.
And we also miss a "team logic" handling: i don't remember how Ryan handled BoneDancer's pet formations (Ryan, if you hear us..), and this is potentially an area where improvement are needed. Darwin mocked up this successfully (for formations) but the "team logic" i think about is wider.