restructured TAttribute(removed redundant attribute) 
fixes edges for bt rules