Let $K$ be a quadratic field and let $\Lambda$ be a rank $2$ sublattice of $K$, with $\mathbb{Q} \Lambda =K$. We'll say that $\Lambda$ has CM if there is some non-rational $\theta$ in $K$ such that $\theta \Lambda \subseteq \Lambda$. Such aLet $\theta$ is necessarily an algebraic integer, and$\mathrm{End}(\Lambda)$ be the ring of all $\theta$ with$\theta \in K$ such that $\theta \Lambda \subseteq \Lambda$. This is an order in $\mathcal{O}_K$.
$\bullet$ Let $K = \mathbb{Q}(z)$ and let $\Lambda = \langle 1, z \rangle$. Then $\Lambda$ has CM. Shifting the periodic sequence does not change the strict equivalence class of $\Lambda$.
$\bullet$ The above is a bijection between periodic sequences of $r$'s and $b$'s, up to shift, and strict equivalence classes of lattices with CM in real quadratic fields.
$\bullet$ Reversing the sequence sends $\Lambda$ to $\overline{\Lambda}$. If $\Lambda$ is a lattice with CMin $K$, and $R$ is its endomorphism ring$R = \mathrm{End}(\Lambda)$, then $\Lambda \overline{\Lambda}$ is a strictly principcalprincipal fractional ideal for $R$. (This is a special property of quadratic fields, which I know of no generalization of in higher degree number fields.) So, with the understanding that we treat a fractional ideal as a fractional ideal for its full endomorphism ring, reversing the sequence sends $\Lambda$ to $\Lambda^{-1}$.