Rightsprofile invalid rules

Sometimes things change (f.e.. function is deleted). Is there a way to search these invalid rules? Or can a proces be made to jump to invalid rules (like ‘find new node’)?