A mathematical model of normative situations