refactoring URL predicates out of the NAM