add edge and black hole rules