added multiple rules capacity