Added ability to add rules to location constraints