How to link heuristic product and release definitions together in the database.