In questions relating to the custody and education of infants and generally in all matters not particularly mentioned in this Act, in which there was formerly or is any conflict or variance between the rules of equity and the rules of the common law with reference to the same matter, the rules of equity shall prevail.