Each square in a $5 \times 5$ grid is either filled or empty, and has up to eight adjacent neighboring squares, where neighboring squares share either a side or a corner. The grid is transformed by the following rules:

Any filled square with two or three filled neighbors remains filled.
Any empty square with exactly three filled neighbors becomes a filled square.
All other squares remain empty or become empty.
A sample transformation is shown in the figure below.

Suppose the $5 \times 5$ grid has a border of empty squares surrounding a $3 \times 3$ subgrid. How many initial configurations will lead to a transformed grid consisting of a single filled square in the center after a single transformation? (Rotations and reflections of the same configuration are considered different.)

$\textbf{(A)}\ 14 \qquad\textbf{(B)}\ 18 \qquad\textbf{(C)}\ 22 \qquad\textbf{(D)}\ 26 \qquad\textbf{(E)}\ 30$
There are two cases for the initial configuration:


The center square is filled. 
Exactly two of the eight adjacent neighboring squares of the center are filled. Clearly, the only possibility is that the squares along one diagonal are filled, as shown below:

In this case, there are $2$ possible initial configurations. All rotations and reflections are considered.
The center square is empty.
Exactly three of the eight adjacent neighboring squares of the center are filled. The possibilities are shown below:

In this case, there are $4+4+4+8=20$ possible initial configurations. All rotations and reflections are considered.

Together, the answer is $2+20=\boxed{\textbf{(C)}\ 22}.$
~mathboy100 ~MRENTHUSIASM