add rules for a dbg package