Added rule export & import functionality