Cell and Ensemble Architecture for the Rewrite Rule Machine