added rule category test to solution