Add destroying rules
Add support for drag and drop studies editing