Add Rule category serialisation