Rupit, Besalú and other medieval towns from Barcelona