The OP asks
Is algebraic expression $\dfrac{r^2-2}{r+2}$ somehow special in this context or even some other algebraic expressions can be subtracted from $r$ "to satisfy the needs" of this construction?
Ans: Subtracting $(r^2 - 2)/(r + k)$ also satisfies the "needs" when $k^2 \gt 2$.
Furthermore, we can apply the algebraic algorithm , say twice (composition), and get results that 'move faster' towards the square root of $2$; this would work equally well in Rudin's argument,
$\quad s = r - 2(\frac{r^2-2}{2 r + 3})$
For a discussion, see the next section.
If $k \ne \pm \sqrt 2$ consider the function
$\tag 1 F(x) = \frac{2+kx}{k+x}$
The function $F$ satisfies
$\tag 2 F(\sqrt 2) = \sqrt 2 \text{ and } F(-\sqrt 2) = -\sqrt 2$
So these are fixed points of the function $F$. It is likely that Rudin was aware of the theory surrounding these functions; they are linear fractional transformations of a specific form. Functions of the form $F(x)$ can be used to construct sequences of rational numbers converging to $\sqrt 2$.
Also $F(x) = x - (x^2 - 2)/(k + x)$.
Rudin selected $k = 2$ which satisfies $k \gt \sqrt 2$. Moreover, theory tells us that Rudin could have selected $k$ to be any rational number such that $k^2 \gt 2$ and everything would work the same. In fact, with such a $k$ suppose we have positive rational numbers $p$ and $q$ such that $p^2 \lt 2 \lt q^2$. Then
$\tag 3 \displaystyle{\bigcap_{n \ge 0}\, \big [F^n(p), F^n(q)\big] = \sqrt 2}$
with the nested closed intervals all containing $\sqrt 2$.
Interestingly, things work out differently (sequence alternating but still converging) when $k^2 \lt 2$.
For example, let $k = \frac{1}{2}$. Then
$\tag 4 \text{If } r = \frac{11}{10} \text{ then } r \lt \sqrt 2 \text{ and } F(r) = \frac{51}{32} \gt \sqrt 2$
$\tag 5 \text{If } r = \frac{51}{32} \text{ then } r \gt \sqrt 2 \text{ and } F(r) = \frac{179}{134} \lt \sqrt 2$