Deep Symbolic Learning: Discovering Symbols and Rules from Perceptions