BACKLOG-5082 , BACKLOG-5091 : generate rules for goals. extends persistence aggregation method to be able to generate goals reports . copy user into session for easier statistics generation