Major update including rule_5 v1

Added:
1. rule_5 version 1
2. find_ap script
3. handling scripts for visits and trends
4. the shell script for all three handling scripts