まり ごとでした
kimarigotodeshita

Noun
Desu Copula

The polite past form of 決まり事

1. It was decided.; It was a rule.

Past/Perfective
Polite