allow more than one rules for drawing
avoid overlaps over the boundaries