UAW appoints Rory Gamble as president