Rule based vs. Machine learning systems