CC-5450 : Refactor Media Management (Classes/DB) in Airtime

relative date rules.
still working on the range relative rule.