Creates a square and fill it with a bunch of rules