Let $R$ be a finite boolean ring. It's known that there's a boolean algebra/ring isomorphism $R\cong \mathcal P(\mathsf{Bool}(R,\mathbb Z_2))$.
I'm trying to get a feel for this. The subsets of $\mathsf{Bool}(R,\mathbb Z_2)$ should somehow correspond to elements of $R$. At first I thought of $\mathbb Z_2$ as the usual subobject classifier in the category of sets, though that didn't get me very far. Then I thought the lattice perspective might help, but the only reasonably canonical map I can think of is $r\mapsto \left\{ \phi\leq \mathrm{eval}_r \right\}$, and I don't see why this should be an iso.
What's the intuition behind this isomorphism? How could one have guessed it?