logic checking category code and item type on isssues and circ rules as well as error log