fixed rules is not an array