The two most recent Republican presidents got into office while failing to win the popular vote. Prior to Bush, that hadn't happened since the 19th century. In that context the GOP learned from those experiences that it's more important to have the right rules keep you in power than it is to actually have the support of the governed.