Rules or consequences? The role of ethical mindsets in moral dynamics