Refactor ruleset to come from `Libraries` for more readability.