There are multiple combinations possible, I would try these two:
wheel odometry -----------------------\
\
IMU -----------------------------> robot_localization -------> rtabmap
/
D435 images ---> visual odometry -----/
/
D435 imu ---------/
wheel odometry ------------------\
\
IMU --------------------------> robot_localization -------> rtabmap
/
D435 images---->visual odometry --/