Lids and dataset rules can be found out real easy by browsing the backup files and see how many lines you have. Each line is a logonid or a dataset rule. For resource rules, that is more complicated. The easiest way is list them in TERSE mode.
TSO ACF
SET RESOURCE(***)
LIST LIKE(-)