Program For Implementing Rules