In a saucepan, soften the fennel, onion and garlic in the oil. Season with salt and pepper. Add the rice and cook for 1 minute, stirring, to coat the rice with the oil. Deglaze with the Pastis liqueur and cook over medium heat, stirring frequently until the liquid is completely absorbed.