[PATCH 1/7] new transform to add references to Rules (e.g. if a default ref needed)