1. A design rule generating method comprising: receiving a test pattern; providing a plurality of workflows which correspond to the test pattern and are preset in relation to a lithography model and a mask generation method; and performing a simulation on the test pattern according to a workflow selected from the workflows.