BZ-1066062 - Cannot use rule tasks in REST API because RemoteRestRuntimeFactory class has no method addExtraJaxbClasses
(cherry picked from commit 3042359773b6c0a27d28389ff252edac55fd280d)