rect config