refactor(validate): split up the validateAgainstRules function
refactor(validate): split up the validateAgainstRules function

sverweij/dependency-cruiser,sverweij/dependency-cruiser,sverweij/dependency-cruiser,sverweij/dependency-cruiser