you could also use the presence of a rules method to decide which way to go.   @controller.responds_to?(:rules)