add support for tracing subrules