added new rule datastruc