Efficient way to reduce the breaking of rules