Work on multiport rule builder