Amended last commit — don't compute for start and end rules