1) Introduce RelFactories 2) Changes rules to use factory for creating p...

...roject rel