fixed rule generation error for range tables