Finished grid visualization, implementing rules