Added installation rules

Added rules for installing the library to the system or custom directory