Theoretical Aspects of Rationality and Knowledge