implemented get rule for rulelist