Add external function bodies to Rules