Start to Refine the rule for static libaray generation.