add loggin if content is undefined while matching rules
first draft for importing rules