Text this: A Framework of Variant Logic Construction for Cellular Automata