1. A recording medium having recorded thereon a computer program for programming a method for improving a yield of an integrated circuit layout, comprising: selecting a pattern that does not satisfy at least one of a plurality of rules of the integrated circuit layout; adding a margin to a predetermined value of the at least one of the plurality of rules of the selected pattern, based on a ground rule and a recommended rule of each of the plurality of rules; calculating an overall fail rate of the at least one of the plurality of rules that varies according to an addition of the margin; determining an adjusted margin to be added to the predetermined value based on the calculated overall fail rate; and adding the adjusted margin to the predetermined value and creating a new rule for the selected pattern.