Rule-based Machine Learning Algorithms for Smart Automatic Quadrilateral Mesh Generation System