rate behavior method now supports trees

Removed Unique Index on foreign key to support subratings
Altered rate and saverating method on behavior to support subratings via tree behavior