Read patterns for declarations from a settings file