rules for commits