Replaced hardcoded category detail lookup with first draft of ruleset system