1) Introduce RelFactories 2) Changes rules to use factory for creating project rel