check filter info after adding rules

checks of output of 'content definition filter info' to make sure that rules were really added
#337, #338, #339, #340, #341 and #342