Remove unused rights