I would agree that this is a wrong approach. This thread has more appropriate strategy. Currently as it seems you would plug in a Custom NLU Pipeline component.
The real question is: has ANYONE successfully plugged in/registered a custom pipeline component into Rasa?