Fix CI error caused by 9cbac6fe
Include header "rulebookdata.h" instead of class forwarding.
The header is automatically generated by kcmutils_generate_module_data and includes a namespace.
Both versions build fine for me locally, so I'd need the support from someone more experienced on C++ and CI to sort this out.