Qubits based on spectrally selected groups of Pr3+ ions in a LaF3 crystal