require ArrayRules only once
fix formatting in ArrayRules