Modified rule fragment to add and remove TV dynamically. Modified FRE to fit new schema