Chop the onion and grate the garlic and set aside.
Heat a stockpot and add the olive oil to heat up
Add the bay leaf, onions and garlic and sweat them.
Add the stock, the pasta, the beans and the rind of the parmesan ( believe me, it does taste awesome with it)
Allow it to come to a slow boil and cook till the pasta is aldente.
Mash some of the beans into the soup to add a bit of thickness to the soup.
Add the rosemary, adjust the salt and crushed pepper to the soup
Serve the soup hot with more parmesan to flavour with.