Adapted to also export jcr module catRules (needed later for asset migration).