First pass at LearningRule and HPES rule.