1. A method of automatically repairing a panel, the method comprising: detecting a plurality of defects on the panel; generating a defect properties list associated with each detected defect; classifying each of the detected defects in accordance with the defect's associated properties list and further in accordance with a set of defect classification rules; generating a defect class associated with each classified defect; and generating a repair procedure for each detected defect in accordance with the defect's associated defect class and further in accordance with a set of repair classification rules.