moved rugby types into own module