Philosophical Foundations of Rationalism