Is it possible to add a custom game module as dependency module from an engine module?

It seems like engine can’t find the module rules files. However, the files truly exist, but the engine module didn’t know where they were.