Added maxj mode - highlight rules