rename game_factory to rule_factory and dice_game to dice_rule