# Create more than one conversion rule in developped module

**URL:** <https://discourse.slicer.org/t/create-more-than-one-conversion-rule-in-developped-module/12961>\
**Category:** Development\
**Created:** [August 12, 2020, 8:37am UTC](https://discourse.slicer.org/t/create-more-than-one-conversion-rule-in-developped-module/12961 "2020-08-12T08:37:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![loubna](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@loubna](https://discourse.slicer.org/u/loubna)\
**Post date:** [August 12, 2020, 8:37am UTC](https://discourse.slicer.org/t/create-more-than-one-conversion-rule-in-developped-module/12961/1 "2020-08-12T08:37:30Z")

</div>

Hi;  
I have developed a new reconstruction module in slicerRT.

I have created new conversion rule (planar Contours-\>Closed surface) in which I have implemented a contours based reconstruction method. In fact it works fine if segmentations have high quality, but it fails with intricate objects.

My question how can I create many conversions rules in my module? for exemple like planarContours-\>RibbonModel-\>BinaryLabelMap-\<Closedsurface?

If I create two conversion rules (for exemple PlanarContours-\>RibbonModel) and (Ribbon Model-\>BinaryLabelMap). They are separated and dont appear in the same line when I click on closed surface update Botton.

It may be there is Something to do when registering rules in logic Module?

I would like to get planarContours-\>RibbonModel-\>BinaryLabelMap-\<Closedsurface?

Thank’s in advance

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 13, 2020, 1:20pm UTC](https://discourse.slicer.org/t/create-more-than-one-conversion-rule-in-developped-module/12961/2 "2020-08-13T13:20:19Z")

</div>

You can register any number of conversion rules. By default, Slicer will choose the combination of rules that can accomplish a conversion with the minimum cost, but you can choose a different path manually.
