Self-Interest and the Design of Rules