Wal-Mart has changed the rules governing the election of directors to the retailer's board.