define rules for status