Added test for the case where to rules with the same name are created in the same DRL file.
(cherry-picked from 554efee)