Fix issue when searching rules from Sqale