fix rules empty values (criteria and actions) on import