Rights export function modified to introduce new fields.
Merging conflicts