Changed filtering rules and added inverse function to get top term concepts.