fixed insert to db functionality. added permission for phone vibrating.
changed minSDK and targetSDK. changed layout of add rule fragment.