STN: Fix stn_rules_dump/details to follow API convention