Revert "Refactor rule category field due to some validation errors


This reverts commit d9b65b2902e6e4e919973b6cc4fa2b2b2b47029b.