added a macro rule to init rules for a rectangular grid