This has been asked many times on many different forums. The problem is that many different styles can be produced with similar grain bills and having an open-ended search program would be a monumental task and most likely give poor results. Your best bet is to learn the different styles, how they are produced, their main attributes for flavor and aromas, and any specific ingredients that are inherent in them. Next, develop your tasting techniques and learn the flavors and aromas you can get from your different ingredients. Once you have this down, you can pretty much look at a set of ingredients and pick out something close to a style, or at least something that from your understanding of the flavors involved sounds good to you.