Add indexing, hydra rights, and a converter between bdr rights and hydra rights.