Rules for RunningMedian class