Here is a start. This will end up being a lot of rules to check, but between our evals and whatever Beats does to choose we should get pretty close to the right tunes.