Train managers have voted for walkouts on 22, 23 and 29 December in a row over rest days.