Data-Centric Approach to Constrained Machine Learning: A Case Study on Conway's Game of Life