Rule egoism
Rule egoism is the doctrine under which an individual evaluates the optimal set of rules based on whether conformity to those rules would bring the most benefit to themselves. An action, therefore, is right if it promotes one's welfare at least as well as any alternative rule available to them. It is associated with foundational egoism, which maintains that normative factors must be grounded in consideration of the agent's well-being - something that rule egoism does but in a way that avoids factoral egoism.