Deep learning and rules-based hybrid approach to improve the accuracy of early detection of skin cancer