Peel onions and cut them into rings. Simmer with vinegar, wine, sugar, spices, salt and pepper for about 2 minutes, let cool off. Cut the maties into strips, mix in and cover and chill for 2-3 days.