Categorizes folly packages using expressions