Warren Buffett's investment rule carries a powerful career lesson.