Refactoring related to filter accept list, resolving list, and removed the redundant anon variable. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>