Generation of TeamGroup, Rules and Favourites domain classes