Andrew Trimble scored the only try of the game for Ulster