Improves activity rule edit form