added support for internal constraints in ORCA inputs