Rare-earth doped transparent ceramics for spectral filtering and quantum information processing