The Interplay Between Internal Motivation and External Rules