Removed the old obsolete rule handling code
Finally implemented Database.insert_song, testing needed.